//
//  DeviceModel.m
//  CityFire
//
//  Created by Liuyz on 2017/8/15.
//  Copyright © 2017年 刘养柱. All rights reserved.
//

#import "DeviceModel.h"

@implementation DeviceModel

+ (NSDictionary *)JSONKeyPathsByPropertyKey
{
    return @{
             @"num" : @"num",
             @"deviceType" : @"deviceType",
             @"dviceCode" : @"deviceCode",
             @"deviceName" : @"deviceName",
             @"deviceOrg" : @"deviceOrg",
             @"deviceAddress" : @"deviceAddress",
             @"longitude" : @"longitude",
             @"latitude" : @"latitude",
             @"remark" : @"remark",
             @"status" : @"status",
             @"cjInterval" : @"cjInterval",
             @"lastTime" : @"lastTime",
             @"linkMan" : @"linkMan",
             @"phone" : @"phone",
             @"detectorAmount" : @"detectorAmount",
             @"controllerManufacturer" : @"controllerManufacturer",
             @"controllerSpec" : @"controllerSpec",
             @"itemCode" : @"itemCode",
             @"purchaseTime" : @"purchaseTime",
             @"wbnx" : @"wbnx",
             @"hotline" : @"hotline"
             };
}

@end

//{
//    "success": true,
//    "return_code": 0,
//    "result": {
//        "devicenum": 5,            --设备个数
//        "detectorAmount": 29       --探测器数量
//    },
//    "msg": null
//}

@implementation PersonOrgsModel

+ (NSDictionary *)JSONKeyPathsByPropertyKey {
    return @{
             @"porgsArray" : @""
             };
}

@end

@implementation DevicesModel

+ (NSDictionary *)JSONKeyPathsByPropertyKey
{
    return @{
             @"devicesArray" : @"",
             @"devicenum" : @"devicenum",
             @"detectorAmount" : @"detectorAmount"
             };

}

@end
